<%--
  Created by IntelliJ IDEA.
  User: 10550
  Date: 2020/6/16
  Time: 15:55
  To change this template use File | Settings | File Templates.
--%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>SCU talk-友情链接管理</title>
    <%
        pageContext.setAttribute("APP_PATH", request.getContextPath());

    %>
    <link href="${APP_PATH }/static/img/admin/favicon-admin.ico" rel='icon' type='image/x-icon'/>
    <link href="${APP_PATH }/static/bootstrap/css/bootstrap.css" rel="stylesheet" />
    <link href="${APP_PATH }/static/css/base.css" rel="stylesheet" />
    <link href="${APP_PATH }/static/css/layui/css/layui.css" rel="stylesheet">
</head>
<body>
<!-- 管理员页面-头部 -->
<jsp:include page="/admin/head.jsp"></jsp:include>
<!--左边部分 -->
<div class="row" style="margin-top: 70px">
    <jsp:include page="/admin/side.jsp"></jsp:include>
    <!-- 管理员页面-主体内容 -->
    <div class="col-md-10 col-md-offset-2" style="top: -20px;">
        <div class="row bkgl admin-h1">
            <h1>
                友情链接<span class="text-primary" id="plate_total"></span>
                <!--新增按钮-->
                <button type="button" class="btn btn-success btn-sm" data-toggle="modal" data-target="#plate_Add" id="plates_add" >新增</button>
            </h1>
            <div class="col-md-12 " style="background-color: #fff; border-top: 3px solid #FF33FF; top: 8px;">
                <table class="table" id="linkTable" lay-filter="linkTable">
                </table>
            </div>
        </div>
    </div>
</div>
</body>
<script src="${APP_PATH }/static/css/layui/layui.js"></script>
<script type="text/html" id="userOperation">
    <div class="layui-btn-container">
        <button class="layui-btn layui-btn-sm layui-btn-normal" lay-event="updateFriendlyLink">编辑</button>
        <button class="layui-btn layui-btn-sm layui-btn-danger" lay-event="deleteFriendlyLink">删除</button>
    </div>
</script>
<script src="${APP_PATH }/static/js/admin/friendLink.js"></script>
</html>